package com.itcam.tingshu.album.client.impl;


import com.itcam.tingshu.album.client.TrackInfoFeignClient;
import com.itcam.tingshu.common.result.Result;
import com.itcam.tingshu.model.album.TrackInfo;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class TrackInfoDegradeFeignClient implements TrackInfoFeignClient {

    /**
     * 批量获取下单付费声音列表
     * @param itemId
     * @param trackCount
     * @return
     */
    @Override
    public Result<List<TrackInfo>> findPaidTrackInfoList(Long itemId, Integer trackCount) {
        System.out.println("批量获取下单付费声音列表【熔断】...");
        return null;
    }

    /**
     * 获取声音信息
     * @param trackId
     * @return
     */
    @Override
    public Result<TrackInfo> getTrackInfo(Long trackId) {
        System.out.println("获取声音信息【熔断】...");
        return null;
    }
}
